package com.qiyeji.real_estate.entity;

import org.camunda.bpm.engine.task.Comment;

import java.util.List;

public class TaskData {
    private String publisher;
    private String taskName;
    private String taskID;
    private String taskExecutionId;
    private String projectName;
    private String comment = null;
    private String type;
    private List<String> members;


    public TaskData(String taskName, String taskID, String taskExecutionId, String projectName, String type) {
        this.taskName = taskName;
        this.taskID = taskID;
        this.taskExecutionId = taskExecutionId;
        this.projectName = projectName;
        this.type = type;
    }

    public TaskData(String publisher, String taskName, String taskID, String taskExecutionId, String projectName, String type) {
        this.publisher = publisher;
        this.taskName = taskName;
        this.taskID = taskID;
        this.taskExecutionId = taskExecutionId;
        this.projectName = projectName;
        this.type = type;
    }

    public TaskData(String publisher, String taskName, String taskID, String taskExecutionId, String projectName, String comment, String type) {
        this.publisher = publisher;
        this.taskName = taskName;
        this.taskID = taskID;
        this.taskExecutionId = taskExecutionId;
        this.projectName = projectName;
        this.comment = comment;
        this.type = type;
    }

    public TaskData(String publisher, String taskName, String taskID, String taskExecutionId, String projectName, String type, List<String> members) {
        this.publisher = publisher;
        this.taskName = taskName;
        this.taskID = taskID;
        this.taskExecutionId = taskExecutionId;
        this.projectName = projectName;
        this.type = type;
        this.members = members;
    }

    public TaskData(String publisher, String taskName, String taskID, String taskExecutionId, String projectName, String comment, String type, List<String> members) {
        this.publisher = publisher;
        this.taskName = taskName;
        this.taskID = taskID;
        this.taskExecutionId = taskExecutionId;
        this.projectName = projectName;
        this.comment = comment;
        this.type = type;
        this.members = members;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public void setTaskID(String taskID) {
        this.taskID = taskID;
    }

    public String getTaskName() {
        return taskName;
    }

    public String getTaskID() {
        return taskID;
    }

    public void setTaskExecutionId(String taskExecutionId) {
        this.taskExecutionId = taskExecutionId;
    }

    public String getTaskExecutionId() {
        return taskExecutionId;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getComment() {
        return comment;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setMembers(List<String> members) {
        this.members = members;
    }

    public List<String> getMembers() {
        return members;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getPublisher() {
        return publisher;
    }


    @Override
    public String toString() {
        return "TaskData{" +
                "publisher='" + publisher + '\'' +
                ", taskName='" + taskName + '\'' +
                ", taskID='" + taskID + '\'' +
                ", taskExecutionId='" + taskExecutionId + '\'' +
                ", projectName='" + projectName + '\'' +
                ", comment='" + comment + '\'' +
                ", type='" + type + '\'' +
                ", members=" + members +
                '}';
    }
}
